package org.example.manage;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author wwy
 * @date 2020-11-02 20:28
 */
@SpringBootApplication
@EntityScan("org.example.framework.domain")
@ComponentScan(basePackages = {"org.example.api"})
@ComponentScan(basePackages = {"org.example.framework"})
@ComponentScan(basePackages = {"org.example.manage"})
@EnableScheduling
public class ManageApplication {
    public static void main(String[] args) {
        SpringApplication.run(ManageApplication.class,args);
    }
}
